<template>
  <view class="login">
    <view @click="login">登录</view>
  </view>
</template>

<script>
export default {
  name: "login",
  data() {
    return {};
  },
  methods: {
    login() {
      uni.navigateTo({
        url: "/pages/view/home/home",
      });
    },
  },
  onLoad() {},
};
</script>

<style lang="scss" scoped>
.login {
  width: 100%;
  height: 100vh;
}
</style>